/* 全局样式 */
body {
    font-family: 'Arial', sans-serif;
    background-image: url('../img/背景图.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
}

/* 登录容器 */
.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 350px;
    text-align: center;
}

/* 标题样式 */
.login-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* 输入框容器 */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

/* 输入框样式 */
.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

/* 密码输入框特殊样式 */
.input-group.password-input {
    position: relative;
}

.input-group.password-input input {
    padding-right: 40px;
}

/* 显示密码按钮 */
.show-password {
    position: absolute;
    right: 10px;
    top: 35px;
    background: none;
    border: none;
    color: #3498db;
    cursor: pointer;
}

/* 验证码区域 */
.captcha-area {
    margin: 20px 0;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.captcha-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
}

.captcha-actions a {
    color: #3498db;
    text-decoration: none;
}

.captcha-actions a:hover {
    text-decoration: underline;
}

/* 滑块验证样式 */
.slider-verify {
    margin: 20px 0;
    background-color: #eee;
    height: 40px;
    border-radius: 20px;
    position: relative;
}

.slider-button {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #3498db;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.slider-text {
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 40px;
    color: #666;
}

/* 登录按钮 */
.login-button {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #2980b9;
}

/* 返回密码链接 */
.forgot-password {
    display: block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}